<template>
  <div class="App">
    <h1>我是祖组件</h1>
    <Child></Child>
  </div>
</template>

<script>
import Child from './components/Child'
export default {
  name:'App',
  components:{
     Child
  }
}
</script>

<style lang="css" scoped>
  .App{
    background-color: gray;
    padding: 10px;
  }
</style>